
package br.unifor.cct.mia.coevolution.memory;

import br.unifor.cct.mia.evolutionary.Individual;

import java.io.Serializable;

public class MemoryIndividual implements Serializable {

	private Individual individual;
	private int specieType;
	private int nBits;


	public MemoryIndividual(Individual individual, int specieType, int nBits) {
		this.individual = individual;
		this.specieType =  specieType;
		this.nBits =  nBits;
	}
	
	public int getSpecieType() {
		return specieType;
	}
	public void setSpecieType(int specieType) {
		this.specieType = specieType;
	}
	public Individual getIndividual() {
		return individual;
	}
	public void setIndividual(Individual individual) {
		this.individual = individual;
	}

	public int getNBits() {
		return nBits;
	}

	public void setNBits(int bits) {
		nBits = bits;
	}

	
}
